import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/css/global.css'
import locale from 'element-ui/lib/locale/lang/zh-CN'
import App from './App'
import store from './store'
import router from './router'
import '@/permission' // permission control
import MChat from '../lib/MChat.umd'
import  '../lib/MChat.css'

Vue.use(MChat)
Vue.use(ElementUI, { locale })
// Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
